<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<title>summernote-富文本编辑器</title>
		<link rel="stylesheet" href="lib/bootstrap/bootstrap.min.css" />
		<link href="dist/summernote.css" rel="stylesheet" />
		<script src="lib/jquery.min.js"></script>
		<script src="lib/bootstrap/bootstrap.min.js"></script>
		<script src="dist/summernote.js"></script>
		<script src="dist/lang/summernote-zh-CN.js"></script>

		<style>
			.m {
				width: 800px;
				margin-left: auto;
				margin-right: auto;
			}
		</style>
		<script>
			$(function() {
				$('.summernote').summernote({
					height: 200,
					tabsize: 2,
					lang: 'zh-CN'
				});
			});
		</script>
	</head>

	<body>
		<div class="m">
			<div class="summernote">summernote 1</div>
			<div class="summernote">summernote 2</div>
		</div>

	</body>

</html>